package com.kedacom.demo.modb.weibo.dao;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.support.JdbcDaoSupport;
import org.springframework.stereotype.Repository;

/**
 * DaoSupport
 * @author luocanfeng
 * @date 2013-1-10
 */
@Repository("apJdbcDaoSupport")
public class APJdbcDaoSupport extends JdbcDaoSupport {

	@Resource(name = "apJdbcTemplate")
	private JdbcTemplate apJdbcTemplate;

	@PostConstruct
	public void initJdcbTemplate() {
		super.setJdbcTemplate(apJdbcTemplate);
	}

}
